package com.example.myweb.Service.Auth;

import com.example.myweb.Domain.Entity.Comment;
import com.example.myweb.Domain.Entity.User;

import com.example.myweb.Dto.CommentDTO;
import com.example.myweb.Dto.CreateCommentDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface CommentService {
//    Comment createComment(Comment.ContentType contentType, Long contentId, CreateCommentDTO request, User currentUser);
//    Page<CommentDTO> getComments(Comment.ContentType contentType, Long contentId, Pageable pageable, User currentUser);
//
//    void deleteComment(Long commentId, User currentUser);
    Comment createComment(Comment.ContentType contentType, Long contentId, CreateCommentDTO request, User currentUser);
    Page<CommentDTO> getComments(Comment.ContentType contentType, Long contentId, Pageable pageable, User currentUser);
    void deleteComment(Long commentId, User currentUser);
}